package main

import (
	"fmt"
	"helloword01/19encapsulation/model"
)

// 封装~
func main() {

	a := model.GenAccount("500123424", "123456")
	fmt.Printf("%T \n", a) //*model.account
	a.SetBalance(10999)
	balance := a.GetBalance()
	fmt.Println(balance)
}
